package com.order.api.service;

import com.order.api.vo.request.ShopsAddRequest;
import com.order.api.vo.request.ShopsIdRequest;
import com.order.api.vo.request.ShopsUpdateRequest;
import com.order.api.vo.response.ShopsResponse;

import java.util.List;

public interface ShopsService {

    /**
     * 查询商品列表不分页
     */
    List<ShopsResponse> findShops();

    /**
     * 商品详情
     */
    ShopsResponse findDetail(ShopsIdRequest request);
    /**
     * 添加商品
     */
    boolean addShops(ShopsAddRequest request);

    /**
     * 修改商品
     */
    boolean updateShops(ShopsUpdateRequest request);

    /**
     *删除商品
     */
    boolean deleteShops(ShopsIdRequest request);
}
